package com.vt.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vt.admin.api.dto.PositionTree;
import com.vt.admin.api.dto.user.redis.UserPosition;
import com.vt.admin.api.entity.SysPosition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: PanZha
 * @Date: 2018/11/1 17:35
 */
public interface SysPositionMapper extends BaseMapper<SysPosition> {

    List<UserPosition> selectUserPosition();

    List<PositionTree> list(@Param("managerId") String managerId);
}
